import { request } from '../utils/request'

export function policyList(params) {
    return request({
        method: 'post',
        url: 'policy/getList',
        data: params,
    })
}

export function addPolicy(params){
    return request({
        method:'post',
        url:'policy/add',
        data:params
    })
}

export function editPolicy(params){
    return request({
        method:'post',
        url:'policy/edit',
        data:params
    })
}

export function delOne(params){
    return request({
        method:'post',
        url:'policy/delPolicyById',
        data:params
    })
}

export function delMore(params){
    return request({
        method:'post',
        url:'policy/delBatch',
        data:params
    })
}

export function getCity(){
    return request({
        method:'get',
        url:'city/getCityOption',
    })
}
